package com.kangfu.api.service;

import com.kangfu.db.domain.entity.Address;
import com.kangfu.db.model.request.AddressRequest;

import java.util.List;

public interface IAddressService {

    public List<Address> getAddressList(int userId, int page);

    public Address getAddress(int userId, int id);

    public Integer insertAddress(int userId, AddressRequest addressRequest);

    public Integer updateAddress(int userId,int id, AddressRequest addressRequest);

    public Integer delAddress(int userId,int id);
}
